package scau.erps.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/** 
 * @author outsider
 * 
 * 自由市场实体
*/
@Table("FREEMARKET")
public class FreeMarket {
	@Column
	@Id 
	private int ID; 
	@Column
	private int teamId;   //小组 
	@Column
	private String type;  //种类 1.Material 2.Product 3.Research
	@Column
	private String product; //产品名称
	@Column
	private int num; //数量 product与research
	@Column
	private int price; //总价
	@Column
	private int note; //用于记录出售成品时 记录该成品的主键 方便已后的操作	
	@Column
    private int buyer;//购买组ID
	@Column
	private String buydate;//购买时间
	public int getID() {
		return ID;
	}
	public void setID(int iD) {
		ID = iD;
	}
	public int getTeamId() {
		return teamId;
	}
	public void setTeamId(int teamId) {
		this.teamId = teamId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public int getNote() {
		return note;
	}
	public void setNote(int note) {
		this.note = note;
	}
	public int getBuyer() {
		return buyer;
	}
	public void setBuyer(int buyer) {
		this.buyer = buyer;
	}
	public String getBuydate() {
		return buydate;
	}
	public void setBuydate(String buydate) {
		this.buydate = buydate;
	}
	
}
